package com.yobol.jgrowth.mapper;

import com.yobol.jgrowth.domain.ArticleComment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ArticleCommentMapper {
    List<ArticleComment> getArticleCommentsByAid(int aid);

    int insert(ArticleComment comment);

    int deleteArticleCommentsByAid(int aid);
}